<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script src="./node_modules/axios/dist/axios.js"></script>
    <script src="./node_modules/qs/dist/qs.js"></script>
    <script>
      axios.get('https://jsonplaceholder.typicode.com/users', {
        params: {
          a: { b: 1, v: 2, c: { a: 2, g: 2 } }
        },
        paramsSerializer: (params) => {
          return Qs.stringify(params, {
            arrayFormat: 'brackets',
            encode: false
          })
        }
      })
    </script>
  </body>
</html>
